import java.io.*;

/*
 *@Student 张策
 */
public class b {
    public static void main(String[] args) throws IOException {
        FileOutputStream fileOutputStream = new FileOutputStream("e:\\Text5.txt");
        PrintStream printStream = new PrintStream(fileOutputStream);
        printStream.print("aaaaaaaaaaa");
        printStream.close();
        PrintWriter printWriter=new PrintWriter("e:\\Text5.txt");
        printWriter.print("aaaasdfsea");
        printWriter.write("asssssssssssss");
        printWriter.close();
    }
}
